package com.example.tms.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("employee_project")
public class EmployeeProject {
    @TableId(value = "id", type = IdType.AUTO) // 主键映射
    private Integer id;
    @TableField("emp_id") // 负责人ID
    private Integer empId;
    @TableField("approver_id") // 审批人ID
    private Integer approverId;
    @TableField("pro_id") // 项目ID
    private Integer proId;
    @TableField("professional_ability")   // 专业能力
    private BigDecimal professionalAbility;
    @TableField("management_ability")   // 管理能力
    private BigDecimal managementAbility;
    @TableField("cooperation_ability")   // 合作能力
    private BigDecimal cooperationAbility;
    @TableField("innovative_ability")   // 创新能力
    private BigDecimal innovativeAbility;
    @TableField("learning_ability")   //  学习能力
    private BigDecimal learningAbility;
    @TableField("description")   // 描述
    private String description;
    @TableLogic
    @TableField("is_deleted")   // 是否删除
    private Boolean isDeleted;
    @TableField("role")   // 角色
    private String role;
    @TableField("created_at")   // 创建时间
    private String createdAt;
    @TableField("updated_at")   // 更新时间
    private String updatedAt;


    public void setApproverId(Integer approverId) {
        this.approverId = approverId;
    }

    public void setProfessionalAbility(BigDecimal professionalAbility) {
        this.professionalAbility = professionalAbility;
    }

    public void setManagementAbility(BigDecimal managementAbility) {
        this.managementAbility = managementAbility;
    }

    public void setCooperationAbility(BigDecimal cooperationAbility) {
        this.cooperationAbility = cooperationAbility;
    }

    public void setInnovativeAbility(BigDecimal innovativeAbility) {
        this.innovativeAbility = innovativeAbility;
    }

    public void setLearningAbility(BigDecimal learningAbility) {
        this.learningAbility = learningAbility;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getApproverId() {
        return approverId;
    }

    public BigDecimal getProfessionalAbility() {
        return professionalAbility;
    }

    public BigDecimal getManagementAbility() {
        return managementAbility;
    }

    public BigDecimal getCooperationAbility() {
        return cooperationAbility;
    }

    public BigDecimal getInnovativeAbility() {
        return innovativeAbility;
    }

    public BigDecimal getLearningAbility() {
        return learningAbility;
    }

    public String getDescription() {
        return description;
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

}
